%ECHO OFF
cls


%ECHO Starting System B
PAUSE

%ECHO Starting WINDOW BREAK ALARM
START "WINDOW BREAK ALARM" /MIN /NORMAL java SystemA/WindowBreakAlarm%1

%ECHO Starting DOOR BREAK ALARM
START "DOOR BREAK ALARM" /MIN /NORMAL java SystemA/DoorBreakAlarm%1

%ECHO Starting MOTION DETECTION ALARM
START "MOTION DETECTION ALARM" /MIN /NORMAL java SystemA/MotionDetectionAlarm%1

%ECHO Starting SYSTEM A ALARM CONTROLLER
START "ALARM CONTROLLER" /MIN /NORMAL java SystemA/SysAController%1

%ECHO Starting FIRE ALARM
START "WINDOW BREAK ALARM" /MIN /NORMAL java SystemB/FireAlarm%1

%ECHO Starting SYSTEM B FIRE ALARM CONTROLLER
START "ALARM CONTROLLER" /MIN /NORMAL java SystemB/FireAlarmController%1

%ECHO Starting SYSTEM B SPRINKLER CONTROLLER
START "SPRINKLER CONTROLLER" /MIN /NORMAL java SystemB/SprinklerController%1

%ECHO Starting SYSTEM B CONSOLE
START "SECURITY CONSOLE" /NORMAL java SystemB/SysBConsole%1

%ECHO Starting SYSTEM B SIMULATION CONSOLE
START "SECURITY CONSOLE - SIMULATION" /NORMAL java SystemB/SysBSIMConsole%1